decision tree with a simple solved example